<?php

class Core_Form_Admin_Settings_General_Stage extends Core_Form_Admin_Settings_Base
{
	protected function _init()
	{
		$this -> setMeta(array(
				'name' => 'form_settings_stage',
				'title' => 'stage settings',
				'desc' => ''
		));

		$this -> addChild('@radio', 'site_stage_env', array(
				'multiOptions' => array(
						'production' => 'production',
						'testing' => 'testing',
						'development' => 'development',
				),
				'value' => 'production',
				'label' => 'stage environment',
		));

		$this -> addChild('@radio', 'site_stage_debug', array(
				'multiOptions' => array(
						'on' => 'yes',
						'off' => 'no'
				),
				'value' => 'off',
				'label' => 'stage debug',
		));

		$this -> addChild('@radio', 'site_stage_stats-request', array(
				'multiOptions' => array(
						'on' => 'yes',
						'off' => 'no'
				),
				'value' => 'off',
				'label' => 'stats request',
		));

		/**
		 * buttons
		 */
		$this -> addChild('@group', 'buttons');

		$this -> buttons -> addChild('@submit', '_submit') -> addChild('@cancel', '_canel');
	}

}
